package so.sao.code.service.infrastructure.annotation;

import so.sao.code.service.infrastructure.enums.ROLE;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by Administrator on 2017/10/19.
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Permission {
    ROLE role() default ROLE.USER;

    String epl() default "";
}
